//-----------------------------------------------------------------------
// <copyright file="GiaoDichBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace APPro.Entities
{
	[Serializable]
	public class GiaoDichBase
	{
		
		#region Variable Declarations
		private string				mobile = string.Empty;
		private DateTime				ngayGD = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				gioGD = new DateTime(1900,1,1,0,0,0,0);
		private int				soDiemTruoc = 0;
		private int				soDiemGD = 0;
		private int				soDiemSau = 0;
		private string				noiDung = string.Empty;
		#endregion
		
		#region Constructors
		public GiaoDichBase() {}
		
		public GiaoDichBase (
			string mobile,
			DateTime ngayGD,
			DateTime gioGD,
			int soDiemTruoc,
			int soDiemGD,
			int soDiemSau,
			string noiDung)
		
		{
			this.mobile = mobile;
			this.ngayGD = ngayGD;
			this.gioGD = gioGD;
			this.soDiemTruoc = soDiemTruoc;
			this.soDiemGD = soDiemGD;
			this.soDiemSau = soDiemSau;
			this.noiDung = noiDung;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Mobile
		{
			get { return mobile; }
			set { mobile = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime NgayGD
		{
			get { return ngayGD; }
			set { ngayGD = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime GioGD
		{
			get { return gioGD; }
			set { gioGD = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int SoDiemTruoc
		{
			get { return soDiemTruoc; }
			set { soDiemTruoc = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int SoDiemGD
		{
			get { return soDiemGD; }
			set { soDiemGD = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int SoDiemSau
		{
			get { return soDiemSau; }
			set { soDiemSau = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string NoiDung
		{
			get { return noiDung; }
			set { noiDung = value; }
		}
		
		#endregion
	}//End Class
	
	public enum GiaoDichColumns
	{
		Mobile,
		NgayGD,
		GioGD,
		SoDiemTruoc,
		SoDiemGD,
		SoDiemSau,
		NoiDung
	}//End enum
}